package net.maku.system.query;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import net.maku.framework.common.query.Query;
import net.maku.framework.mybatis.entity.BaseEntity;

import java.util.List;

/**
 * 机构管理
 *
 * @author 阿沐 babamu@126.com
 * <a href="https://maku.net">MAKU</a>
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(description = "组织查询")
public class SysOrgQuery extends Query {

    @Schema(description = "机构名称")
    private String name;

    @Schema(description = "工会类型")
    private String unionType;

    @Schema(description = "上级id")
    private Long pId;

    @Schema(description = "审核状态")
    private Integer auditStatus;

    @Schema(description = "迁移组织id")
    private List<Long> orgIdList;

    @Schema(description = "状态")
    private Integer status;

    @Schema(description = "是否采购单位")
    private Integer whetherPurchase;
}